public class Test {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode root = binaryTree.createTree();

        System.out.println("第K层的节点个数：");
        System.out.println(binaryTree.getKLevelNodeCount(root, 1));

        System.out.println("二叉树的高度：");
        System.out.println(binaryTree.getHeight(root));

        System.out.println("查找：");
        BinaryTree.TreeNode ret = binaryTree.find(root, 'C');
        System.out.println(ret.val);
    }
}
